package com.shigu.admin.diy.vo;

import java.util.List;

/**
 * 功能数据
 * Created by bugzy on 2017/7/11 0011.
 */
public class DiyFuncVO {


    private Long functionId;

    /**
     * 标题
     */
    private String title;

    /**
     * 页面ID
     */
    private Long pageId;

    /**
     * 1、弹窗，2、直接请求
     */
    private Integer type;

    /**
     * js脚本
     */
    private String jsScript;

    /**
     * 重定向页面
     */
    private String redirectTo;

    /**
     * 权限
     */
    private String permissions;

    /**
     * '1、页面方法，2、行方法',3、DIY按钮
     */
    private Integer locationType;

    private List<String> sqls;

    public Long getFunctionId() {
        return functionId;
    }

    public void setFunctionId(Long functionId) {
        this.functionId = functionId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getPageId() {
        return pageId;
    }

    public void setPageId(Long pageId) {
        this.pageId = pageId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getJsScript() {
        return jsScript;
    }

    public void setJsScript(String jsScript) {
        this.jsScript = jsScript;
    }

    public String getRedirectTo() {
        return redirectTo;
    }

    public void setRedirectTo(String redirectTo) {
        this.redirectTo = redirectTo;
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions;
    }

    public Integer getLocationType() {
        return locationType;
    }

    public void setLocationType(Integer locationType) {
        this.locationType = locationType;
    }

    public List<String> getSqls() {
        return sqls;
    }

    public void setSqls(List<String> sqls) {
        this.sqls = sqls;
    }
}
